@import "mixin.less";
html{color:#000;background:#fff;overflow-y:scroll;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}html *{outline:0;-webkit-text-size-adjust:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}html,body{font-family:sans-serif}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td,hr,button,article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{margin:0;padding:0}input,select,textarea{font-size:100%}table{border-collapse:collapse;border-spacing:0}fieldset,img{border:0}abbr,acronym{border:0;font-variant:normal}del{text-decoration:line-through}address,caption,cite,code,dfn,em,th,var{font-style:normal;font-weight:500}ol,ul{list-style:none}caption,th{text-align:left}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:500}q:before,q:after{content:''}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}a:hover{text-decoration:none}ins,a{text-decoration:none}
html {
    background-color: #f5f5f5;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}
html a {
    -webkit-tap-highlight-color: rgba(152,152,152,0.3);
}
/*body .main {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}*/
body {
    /*overflow: hidden;*/
    -webkit-overflow-scrolling: touch;
}
/*.main {
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 1;
}*/

.clearfix:after { content: " "; display: block; clear: both; }
.pull-right { float: right; }
.pull-left { float: left; }
.padding-side {
    padding-left: 0.32rem;
    padding-right: 0.32rem;
}

.bottom-line {
    position: relative;
    &:before {
        content: " ";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 1px;
        border-bottom-width: 1px;
        border-bottom-style: solid;
        border-bottom-color: @line-color;
        transform-origin: 0 0;
        transform: scaleY(0.5);
        z-index: 2;
    }
}

.top-line {
    position: relative;
    &:before {
        content: " ";
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 1px;
        border-bottom-width: 1px;
        border-bottom-style: solid;
        border-bottom-color: @line-color;
        transform-origin: 0 0;
        transform: scaleY(0.5);
        z-index: 2;
    }
}

.right-line {
    position: relative;
    &:before {
        content: " ";
        position: absolute;
        right: 0;
        top: 0;
        width: 1px;
        height: 100%;
        border-right-width: 1px;
        border-right-style: solid;
        border-right-color: @line-color;
        transform-origin: 0 0;
        transform: scaleX(0.5);
        z-index: 2;
    }
}


.arrow:after {
    content: " ";
    display: inline-block;
    height: 0.16rem;
    width: 0.16rem;
    border-width: 2px 2px 0 0;
    border-color: @base-color;
    border-style: solid;
    -webkit-transform: matrix(0.71, 0.71, -0.71, 0.71, 0, 0);
    transform: matrix(0.71, 0.71, -0.71, 0.71, 0, -1);
}
.article-nav {
    padding-bottom: 1.333333rem;
}
/* 按钮样式 */
.btn-A {
    display: inline-block;
    text-align: center;
    padding-top: 0.32rem;
    padding-bottom: 0.32rem;
    padding-left: 1.466667rem;
    padding-right: 1.466667rem;
    color: #fff;
    .font-dpr(14px);
    background-color: @base-color;
    border-width: 0px;
    border-radius: 100px;
}
.btn-round {
    display: inline-block;
    text-align: center;
    color: #fff;
    background-color: @base-color;
    border-width: 0px;
    border-radius: 100%;
    transform: scale(0.5);
    transform-origin: 0 0;
    font-size: 28px;
    width: 100px;
    height: 100px;
    line-height: 100px;
    [data-dpr="2"] & {
        font-size: 56px;
        width: 200px;
        height: 200px;
        line-height: 200px;
    }
    [data-dpr="3"] & {
        font-size: 84px;
        width: 300px;
        height: 300px;
        line-height: 300px;
    }
}

.btn-B {
    display: inline-block;
    text-align: center;
    padding-top: 0.24rem;
    padding-bottom: 0.24rem;
    padding-left: 1.066667rem;
    padding-right: 1.066667rem;
    color: #838383;
    .font-dpr(12px);
    background-color: #fff;
    position: relative;
    border: none;
    [data-dpr="1"] & {
        &:after {
            content: " ";
            width: 200%;
            height: 200%;
            position: absolute;
            top: 0;
            left: 0;
            border: 1px solid #838383;
            -webkit-transform: scale(0.5);
            transform: scale(0.5);
            -webkit-transform-origin: 0 0;
            transform-origin: 0 0;
            box-sizing: border-box;
            border-radius: 100px;
        }
    }
    [data-dpr="2"] & {
        border: 1px solid #838383;
        border-radius: 100px;
    }   
    [data-dpr="3"] & {
        border: 1px solid #838383;
        border-radius: 100px;
    }
}
.main.share {
    max-width: 10rem;
    overflow: hidden;
    margin: 0 auto;
    transition: all 0.8s cubic-bezier(0.17, 0.89, 0.32, 1.1);
}
.main.share{
    animation: pulldown 0.8s cubic-bezier(0.17, 0.89, 0.32, 1.1);
    animation-fill-mode : forwards;
}
.share-banner {
    position: fixed;
    top: -1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 1.2rem;
    width: 100%;
    max-width: 10rem;
    .font-dpr(12px);
    background-color: rgba(0,0,0,0.7);
    animation: fadein 0.8s cubic-bezier(0.17, 0.89, 0.32, 1.1);
    animation-fill-mode : forwards;
    z-index: 999;
    img {
        height: 0.933333rem;
        width: 0.933333rem;
    }
    span {
        width: 6.4rem;
        color: #fff;
        margin-left: 0.266667rem;
        margin-right: 0.213333rem;
    }
    a {
        width: 1.333333rem;
        height: 0.533333rem;
        color: #fff;
        line-height: 0.533333rem;
        text-align: center;
        background-color: @base-color;
        border-radius: 5px;
        border: none;
    }
}
@keyframes fadein {
    from {
        top: -1.2rem;
    }
    to {
        top: 0;
    }
}
@keyframes pulldown {
    from {
        padding-top: 0;
    }
    to {
        padding-top: 1.2rem;
    }
}